package com.coc.entity.sysProvince;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.List;

/**
 * 省份设置(SysProvince)表实体类
 *
 * @author songju
 * @since 2020-03-06 14:01:00
 */
@SuppressWarnings("serial")
public class SysProvince extends Model<SysProvince> {
    //自增列
    @TableId
    private Integer provinceId;
    //省份代码
    private String provinceCode;
    //省份名称
    private String provinceName;
    //简称
    private String shortName;
    //经度
    private String lng;
    //纬度
    private String lat;
    //排序
    private Integer sort;
    //创建时间
    private Date gmtCreate;
    //修改时间
    private Date gmtModified;
    //备注
    private String memo;
    //状态
    private Integer dataState;
    //租户ID
    private String tenantCode;
    @TableField(exist = false)
    private List<SysCity> sysCityList;

    public List<SysCity> getSysCityList() {
        return sysCityList;
    }

    public void setSysCityList(List<SysCity> sysCityList) {
        this.sysCityList = sysCityList;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.provinceId;
    }
    }